//
//  MBProgressHUD+Extension.h
//  DATABK
//
//  Created by 俞渊华 on 2017/3/20.
//  Copyright © 2017年 俞渊华. All rights reserved.
//

#import "MBProgressHUD.h"

@interface MBProgressHUD (Extension)
+ (void)showError:(NSString *)error toView:(UIView *)view;
+ (void)showSuccess:(NSString *)success toView:(UIView *)view;

+ (MBProgressHUD *)showMessage:(NSString *)message toView:(UIView *)view;


+ (void)showSuccess:(NSString *)success;
+ (void)showError:(NSString *)error;

+ (MBProgressHUD *)showMessage:(NSString *)message;
//+ (MBProgressHUD *)showMessage:(NSString *)message
//                     hideDelay:(NSTimeInterval)delay
//               completionBlock:(MBProgressHUDCompletionBlock)completion;

+ (void)hideHUDForView:(UIView *)view;
+ (void)hideHUD;



@end
